//
//  YPBaseTableViewCell.m
//  project
//
//  Created by Jtg_yao on 2018/10/12.
//  Copyright © 2018年 rocHome. All rights reserved.
//

#import "YPBaseTableViewCell.h"

@implementation YPBaseTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier withCellPath:(NSIndexPath *)cellPath {
    
    YPBaseTableViewCell *baseCell = [self initWithStyle:style reuseIdentifier:reuseIdentifier];
    baseCell.cellPath = cellPath;
    return baseCell;
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
    }
    return self;
}

-(void)setDataModel:(YPBaseModel *)dataModel{
    
    _dataModel = dataModel;
#warning 重写此方法 赋值 -- 数据模型
}

-(void)setDataDict:(NSDictionary *)dataDict {
    
    _dataDict = dataDict;
#warning 重写此方法 赋值 -- 数据字典
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
